package com.frogs.ucenter.v1.service;

import com.frogs.system.web.api.request.Request;
import com.frogs.system.web.api.response.Response;

public interface GoodsEvaluateService {

	/**
	 * 添加或者修改商品评价
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response mergeEvaluateInfo(Request request) throws Exception;

	/**
	 * 删除商品评价
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response deleteGoodsEvaluateInfo(Request request) throws Exception;

	/**
	 * 赞/踩
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response isPraise(Request request) throws Exception;

	/**
	 * 获取商品评价列表
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response getGoodsEvaluateList(Request request) throws Exception;

	/**
	 * 获取商品评价总数
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response getEvaluateCount(Request request) throws Exception;

	/**
	 * 批量商品评价
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response batchMergeEvaluateInfo(Request request) throws Exception;
}
